import json, sys, urllib.request
url = sys.argv[1] if len(sys.argv) > 1 else 'http://localhost:8000/recommend/movie/2762'
with urllib.request.urlopen(url) as r:
    data = r.read().decode('utf-8','ignore')
print(data)
